import http from "./http"

const getDepartmentStaffCount = () => {
    const path = "/home/deptStaffCnt"
    return http.get(path)
}

const getLatestabsents = () =>{
    const path = "/home/latestabsent"
    return http.get(path)
}

const getLatestinforms = () =>{
    const path = "/home/latestinform"
    return http.get(path)
}

export default {
    getDepartmentStaffCount,
    getLatestabsents,
    getLatestinforms,
}